package coding.unit11;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

/**
 * @author Wang Renlei
 * @Date 2020/5/7
 */
public class SetOperations {

    public static void main(String[] args) {
        Set<String> set1 = new HashSet<>();
        Collections.addAll(set1, "A B C D E F G H I J K L ".split(" "));
        set1.add("M");
        System.out.println("H: " + set1.contains("H"));
        System.out.println("N: " + set1.contains("N"));

    }


}
